package com.tuanzi.loan.business.service.family;

import org.springframework.data.domain.Page;

import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.jiafang.NuanXinDaiUnionSearchRequest;
import com.tuanzi.loan.vo.response.jiafang.NuanXinDaiUnionSearchResponse;

public interface LoanApiRecordService {

	/**
	 * 暖薪贷联登统计
	 * 
	 * @param pageSearcher
	 * @return
	 */
	Page<NuanXinDaiUnionSearchResponse> statNuanXinDaiUnion(PageSearcher<NuanXinDaiUnionSearchRequest> pageSearcher);

	/**
	 * 根据用户ID & sourceId统计用户数量
	 * 
	 * @param userId
	 * @param sourceId
	 * @return
	 */
	Long countByUserIdAndSourceId(Long userId, Long sourceId);

}
